﻿<UserControl x:Class="CoolCode.Controls.Confirm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:cc="clr-namespace:CoolCode.Controls">
    <Grid x:Name="LayoutRoot">
        <Grid  x:Name="mask" Background="Black" Opacity="0.2"></Grid>
        <cc:DialogPanel x:Name="confirmPanel" Background="White" Height="100" Width="300" Title="Confirm" DragEnable="True" >
            <cc:DialogPanel.Content>
                <StackPanel>
                    <TextBlock x:Name="msg" FontSize="12" Margin="5" HorizontalAlignment="Center"></TextBlock>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                        <Button x:Name="btnYes" Content="Yes" Margin="5" Height="25" Width="50"></Button>
                    <Button x:Name="btnNo" Content="No" Margin="5" Height="25" Width="50"></Button>
                    </StackPanel>
                </StackPanel>
            </cc:DialogPanel.Content>
        </cc:DialogPanel>
    </Grid>
</UserControl>
